package com.zx.framework.plat.user.po;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * UserValid entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_user_valid")

public class UserValid  implements java.io.Serializable {


    // Fields    

     private String userId;
     private String email;
     private Boolean emailValid;
     private Timestamp evalidTime;
     private String idcard;
     private Boolean idcardValid;
     private Timestamp cvalidTime;


    // Constructors

    /** default constructor */
    public UserValid() {
    }

	/** minimal constructor */
    public UserValid(String userId, Boolean emailValid, Boolean idcardValid) {
        this.userId = userId;
        this.emailValid = emailValid;
        this.idcardValid = idcardValid;
    }
    
    /** full constructor */
    public UserValid(String userId, String email, Boolean emailValid, Timestamp evalidTime, String idcard, Boolean idcardValid, Timestamp cvalidTime) {
        this.userId = userId;
        this.email = email;
        this.emailValid = emailValid;
        this.evalidTime = evalidTime;
        this.idcard = idcard;
        this.idcardValid = idcardValid;
        this.cvalidTime = cvalidTime;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="USERID", unique=true, nullable=false, length=64)

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    @Column(name="EMAIL", length=128)

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    
    @Column(name="EMAILVALID", nullable=false, precision=1, scale=0)

    public Boolean getEmailValid() {
        return this.emailValid;
    }
    
    public void setEmailValid(Boolean emailValid) {
        this.emailValid = emailValid;
    }
    
    @Column(name="EVALIDTIME", length=19)

    public Timestamp getEvalidTime() {
        return this.evalidTime;
    }
    
    public void setEvalidTime(Timestamp evalidTime) {
        this.evalidTime = evalidTime;
    }
    
    @Column(name="IDCARD", length=18)

    public String getIdcard() {
        return this.idcard;
    }
    
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
    
    @Column(name="IDCARDVALID", nullable=false, precision=1, scale=0)

    public Boolean getIdcardValid() {
        return this.idcardValid;
    }
    
    public void setIdcardValid(Boolean idcardValid) {
        this.idcardValid = idcardValid;
    }
    
    @Column(name="CVALIDTIME", length=19)

    public Timestamp getCvalidTime() {
        return this.cvalidTime;
    }
    
    public void setCvalidTime(Timestamp cvalidTime) {
        this.cvalidTime = cvalidTime;
    }
   








}